Add FHIR R4, SMART on FHIR, HL7 v2, eval/drift monitoring, and clinic… - #61
Merged
Merged
Conversation
…al MCP control plane
Implements the full clinical-capability backlog plus its UI wiring:
- FHIR R4 read-only facade (Patient/ImagingStudy/DiagnosticReport/DocumentReference)
- SMART on FHIR: resource-server discovery/scope enforcement, and a full
client-role launch flow (PKCE, trusted-issuer allowlist, token storage) -
gated behind an already-authenticated ModelForge session by design
- HL7 v2: ER7 parser/builder, ORU^R01 outbound, inbound ORU/ADT parsing,
ACK/NACK, an MLLP TCP listener, and a match/apply/review ingestion
pipeline with the same "ambiguous match always needs human review" rule
imaging's own DICOM patient matching uses
- Evidence provenance citations for scalar case fields, prompt versioning,
online eval/drift monitoring, and quality-aware multi-model routing
- Electron UI: External EHR page (trusted-issuer admin, SMART launch
trigger, session management) and an HL7 Inbox review queue, both wired
through new IPC handlers and preload bridges
- Managed clinical MCP integration: short-lived context grants,
exact-operation approval tickets, and structured operation provenance
for modelforge-clinical-mcp
Each capability's scope and disclosed gaps are documented in
docs/{FHIR_INTEGRATION,SMART_LAUNCH,HL7_V2_INTEGRATION,CLINICAL_AI_EVALUATION,
CLINICAL_MCP_INTEGRATION}.md. Full server/app/frontend suites passing,
0 Semgrep findings across touched files.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…al MCP control plane
Implements the full clinical-capability backlog plus its UI wiring:
Each capability's scope and disclosed gaps are documented in docs/{FHIR_INTEGRATION,SMART_LAUNCH,HL7_V2_INTEGRATION,CLINICAL_AI_EVALUATION, CLINICAL_MCP_INTEGRATION}.md. Full server/app/frontend suites passing, 0 Semgrep findings across touched files.